package com.shopping.huaju.commodity.dao;

import com.shopping.huaju.commodity.entity.AttrgroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shopping.huaju.commodity.entity.vo.SpuItemAttrGroupVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 家居商品属性分组
 * 
 * @author tofu
 * @email tofu@qq.com
 * @date 2023-11-06 21:31:44
 */
@Mapper
public interface AttrgroupDao extends BaseMapper<AttrgroupEntity> {

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
